package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.Department;
import cn.wolfcode.car.common.base.page.TablePageInfo;
import cn.wolfcode.car.common.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDepartmentService {

    Department get(Long id);

    List<Department> selectAll();

    TablePageInfo<Department> query(QueryObject qo);

    void save(Department department);

    void update(Department department);

    void deleteById(Long id);

}
